fast |
您所在的位置:网站首页 › fast file system › fast |
fast-xml-parser
Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++ based libraries and no callback. Looking for maintainers Support this project by becoming a Sponsor. Click on Sponsor button above or
Check ThankYouBackers for our supporters Users
Check the list of all known users here; The list of users is collected either from the list published by Github, cummunicated directly through mails/chat , or from other resources. If you feel that your name in the above list is incorrectly published or you're not the user of this library anymore then you can inform us to remove it. We'll do the necessary changes ASAP. Main FeaturesTo use as package dependency $ npm install fast-xml-parser or $ yarn add fast-xml-parser To use as system command $ npm install fast-xml-parser -g To use it on a webpage include it from a CDN Example As CLI command $ fxparser some.xmlIn a node js project const { XMLParser, XMLBuilder, XMLValidator} = require("fast-xml-parser"); const parser = new XMLParser(); let jObj = parser.parse(XMLdata); const builder = new XMLBuilder(); const xmlContent = builder.build(jObj);In a HTML page : const parser = new fxparser.XMLParser(); parser.parse(xmlContent);Check lib folder for different browser bundles Bundle Name Size fxbuilder.min.js 5.2K fxparser.js 50K fxparser.min.js 17K fxp.min.js 22K fxvalidator.min.js 5.7K Documentsv3 documentsv4 GettingStarted.md XML Parser XML Builder XML Validator Entities HTML Document Parsing PI Tag processing Performance XML ParserLarge files
negative means error This project exists thanks to all the people who contribute. [Contribute]. Thank you to all our backers! 🙏 [Become a backer] |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |